package com.cloud.dao;

import com.cloud.entity.News;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface NewsDao extends JpaRepository<News,Integer> {
    public List<News> findAllByTeamId(Integer teamId);
}
